package cn.wolfcode.wolfcodemall.mapper;

import cn.wolfcode.wolfcodemall.domain.Address;
import java.util.List;

public interface AddressMapper {
    int deleteByPrimaryKey(String addressAreaid);

    int insert(Address record);

    Address selectByPrimaryKey(String addressAreaid);

    List<Address> selectAll();

    int updateByPrimaryKey(Address record);

    //查询所有的省份信息
    List<Address> selectRoot();

    //查询给定的地址id查询该地址下的地址信息
    List<Address> selectList(String addressId);
}